//
// Created by dxyinme on 2021/11/20.
//

#ifndef FPSTYLE_TASK_H
#define FPSTYLE_TASK_H

namespace FPStyle {

template <class T>
class Task {
public:
  Task() = default;
  virtual void Done();
  ~Task() = default;

  T ret;
private:
  bool is_done_{false};
};



// impl

template<class T>
void Task<T>::Done() {
  is_done_ = true;
}

}

#endif //FPSTYLE_TASK_H
